package cn.zebra.dev.pay.module.wechat.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.math.BigDecimal;
import java.time.LocalDateTime;

@TableName("orders_pay_bills")
@Getter
@Setter
public class OrdersPayBillsEntity {

    @ApiModelProperty(hidden = true)
    @TableId(type = IdType.AUTO)
    private Long id;

    @ApiModelProperty("当前支付用户")
    private Long userId;

    @ApiModelProperty("订单id")
    private Long orderId;

    @ApiModelProperty("店铺id")
    private Long shopId;

    @ApiModelProperty("支付金额")
    private BigDecimal payAmount;

    @ApiModelProperty("商户订单号")
    private String outTradeNo;

    @ApiModelProperty("微信订单号")
    private String transactionId;

    @ApiModelProperty("支付时间")
    private LocalDateTime payTime;

    @ApiModelProperty(hidden = true)
    private Boolean deleteFlag;



}
